// api集中管理
export default {
    install(app: any, options: any) {
        const bannerApi = (params: any) => app.config.globalProperties.$http.post('/main/index/banner-list', params, { loadingText: '获取中。。。' })

        app.config.globalProperties.$api = {
            bannerApi
        }
    }
}